package com.by.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.by.entity.ShopCart;
import com.by.mapper.CartMapper;
import com.by.service.CartService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CartServiceImpl extends ServiceImpl implements CartService {

    @Autowired
    CartMapper cartMapper;

    /**
     * 创建购物车
     * @param shopCart
     * @return
     */
    @Override
    public int createCart(ShopCart shopCart) {



        return 0;
    }
}
